﻿using Newtonsoft.Json;
using QQZiFramework;
using System;
using System.Collections.Generic;
using System.Text;

namespace DemoConsole
{
    [DBTable(TableName = "WSMP_OBJECT")]

    public class ObjectInfo : IDBEntity
    {
        [DBField(Usage = DBFieldUsage.PrimaryKey)]
        [JsonProperty(PropertyName = "ObjectId")]
        public string OBJECT_ID { get; set; }

        [JsonProperty(PropertyName = "parentId")]
        public string PARENT_ID { get; set; }

        [JsonProperty(PropertyName = "objectName")]
        public string OBJECT_NAME { get; set; }

        /// <summary>
        /// OBJECT_STYLE
        /// </summary>  
        [JsonProperty(PropertyName = "objectStyle")]
        public string OBJECT_STYLE { get; set; }

        /// <summary>
        /// OBJECT_PROP
        /// </summary>
        [JsonProperty(PropertyName = "objectProp")]
        public string OBJECT_PROP { get; set; }

        [JsonProperty(PropertyName = "objectType")]
        public string OBJECT_TYPE { get; set; }
    }
}